import request from '../../utils/request'

// 获取数据列表
const getTrends = data => {
  return request({
    url: '/api/trends',
    method: 'GET',
    data
  })
}
//动态详情
const getTrendsDetail = (id)=> {
  return request({
    url: '/api/trends/'+id,
    method: 'GET'
  })
}


module.exports = {
  getTrends,
  getTrendsDetail
}